package com.xtkj.superclub_information.client;

import com.xtkj.commons.JsonResult;
import com.xtkj.superclub_entity.entity.user.User;
import jdk.nashorn.internal.parser.Token;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author lizheqi
 * @create 2019-12-30-17:13
 */
@FeignClient(value = "SUPERCLUB-USER")
public interface IUserClient {
    @RequestMapping(value = "/user/getUser",method = RequestMethod.GET)
    @ResponseBody
    JsonResult getUser(@RequestBody User user);

}
